package com.kws.tool.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : zhangbenting
 * @date : 2024/11/11 19:05
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
public class InvoiceVo {
    @ApiModelProperty("应答码")
    private String respCd;
    @ApiModelProperty("应答描述")
    private String respMsg;
    @ApiModelProperty("应答签名")
    private String sign;
    @ApiModelProperty("平台流水号")
    private String seqId;
    @ApiModelProperty("版本号")
    private String version;
    @ApiModelProperty("嵌套的业务应答内容")
    private RespContent respContent;

    @Data
    @NoArgsConstructor
    public static class RespContent {
        @ApiModelProperty("发票代码")
        private String fpdm;
        @ApiModelProperty("发票号码")
        private String fphm;
        @ApiModelProperty("发票状态")
        private String fpzt;
        @ApiModelProperty("PDF 预览地址")
        private String pdfyldz;
        @ApiModelProperty("PDF 下载地址")
        private String pdfxzdz;
    }
}
